package org.zhaya.sdk;

import io.logz.sawmill.Pipeline;
import io.logz.sawmill.ProcessResult;
import io.logz.sawmill.Processor;
import org.zhaya.sdk.swamill.ProcessDoc;

/**
 * @Author gleen
 * @Date 2022/10/26 15:24
 */
public abstract class AbstractProcessorInterceptor implements ProcessorInterceptor {

    @Override
    public void onBefore(Processor processor, ProcessDoc doc, Pipeline pipeline) {

    }

    @Override
    public void onAfter(Processor processor, ProcessDoc doc, Pipeline pipeline, ProcessResult processResult) {

    }

    @Override
    public void onThrowing(Processor processor, ProcessDoc doc, Pipeline pipeline, Exception e) {

    }
}
